Corrected getInt to getLong when retrieving position_id from DB