Fix for subset in Java keys where not passed