Fixed issue with .val() not working properly.