Fix page restriction bug

Bug allowed the script to run regardless of what you set for the element
to check for
Version 0.1.1