rectified the swapping between site tag and master password, added the default values for min and max index