fix bug where images can be attached to wrong post/question if updated_at timestamp was modified elsewhere