Resolves 1054 - Unknown column error due to method used to retrieve id url parameter