Add validation to avoid notice in pm tables
Merge pull request #1357 from julceslauhub/master

 Add validation to avoid notice in pm tables