Corrected getItemPosition implementation as intended