Default [Q] Lockscreen options disabled and clearing credentials/decrypting doesn't solve it

All the lock screen options but pin and password are grayed out. The phone won't even let me lock it with a pin or password, it automatically goes back to swipe. They have a message under them that says "disabled by administrator, encryption policy, or credential storage". I've googled and I already cleared all credentials, unchecked everything under device administrators, and made sure SD card and phone encryption was turned off. I also wiped the cache and dalvik cache just to see if it works. The sim card lock is also off. Any advice? I'm stumped


Edit: Fixed by flashing a new ROM. This thread can be closed - thanks
Phone: Samsung Galaxy S4
Android version: 4.4