The parameter is passed as string, the id is integer, thus the strict compare fails. To be on the sane side, cast both values to integer prior comparing. Fixes #291