Convert params[:vehicle_id] to integer for safety

Hi!

Passing parameters directly to `exists?` is dangerous, as explained here: http://rails-sqli.org/#exists