Added the option to specify that a list is a user's state. Fixed a php notice.