Longford Town remain in 9th place after a home defeat to Bohemians who picked up their fourth win of the campaign.