Trick is only valid for integer id columns