Added check for empty keys and return if they are