Fixing hidden input issue with laspass

Lastpass Adds a hidden input field into the page ( Its for password generation ) The current creation page errors out if lastpass is activated, I fixed it by adding a check to make sure it only checks valid input fields