Bug fixes:
1. Job import failed if any collection is empty
2. Job buttons are not updated properly when there is no job