Adding param check for objectid